# -*- coding: utf-8 -*-
from __future__ import division
global i,zong
import time
# x=12
# for i in xrange(1,x+1):
# 	time.sleep(1)
# 	print '='*(int(i/x*20)),'%.2f'%(i/x*100),'%','\r',
zong=1000
i=0
def jindu():#输出进度百分比
	global i
	i+=1
	x=int(zong)
	time.sleep(0.005)
	print '='*(int(i/x*40)),'%.2f'%(i/x*100),'%','\r',
for x in xrange(1000):
	jindu()